package com.example.cart_system.service;

import com.example.cart_system.pojo.Cart;
import com.example.cart_system.pojo.Order;
import com.example.cart_system.pojo.Usr;
import com.example.cart_system.pojo.UsrInfo;

import java.util.List;

public interface UsrService {

    public boolean register(Usr usr);

    public UsrInfo login(Usr usr);

    public void buy(Order order);

    public List<Usr> selectAllUsrName();
}
